//
//  ZLW_VideoCell.h
//  Otaku
//
//  Created by lanou3g on 16/5/12.
//  Copyright © 2016年 Liuwx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZLW_VideoModel.h"
#import "VideoPlayView.h"

@protocol VideoTableViewCellDelegate <NSObject>

@optional
- (void)clickMoreButton: (ZLW_VideoModel *)video;
- (void)clickVideoButton: (NSIndexPath *)indexPath;
- (void)clickRedButton: (NSIndexPath *)indexPath;

@end

@interface ZLW_VideoCell : UITableViewCell
+ (instancetype)cell;

@property (nonatomic, strong) ZLW_VideoModel *getmodel;
@property (nonatomic, weak) id<VideoTableViewCellDelegate> delegate;
@property (nonatomic, strong) NSIndexPath *indexPath;
@property (nonatomic, weak) VideoPlayView *playView;


+ (CGFloat)heightModel:(ZLW_VideoModel *)model;
@end
